/**
 * 
 */
package com.estock.platform.http.response;

import com.estock.platform.http.utils.JSONUtil;


/**
 * @author richard
 *
 */
public class BaseResponse extends JSONResponse {

	@Override
	protected void setBody(String body) throws Exception {
		this.body = body;
		parameters = JSONUtil.parseJSON(body);
	}

	@Override
	protected void setContentType(String contentTypr) {
		this.contentType = contentTypr;
	}

	@Override
	protected void setResponseCode(int responseCode) {
		this.responseCode = responseCode;
	}

}
